package com.taomu.app.zongchouhuli.moudle.mine.contract;

import com.taomu.app.zongchouhuli.entity.BaseChangeResponse;
import com.taomu.app.zongchouhuli.framework.BasePresenter;
import com.taomu.app.zongchouhuli.framework.BaseView;
import com.taomu.app.zongchouhuli.http.res.ResOrderEntity;
import com.taomu.app.zongchouhuli.http.res.ResOrderListEntity;
import com.taomu.app.zongchouhuli.moudle.mine.entity.OrderEntity;

import java.util.List;

public class OrderListContract {
    public interface Presenter extends BasePresenter {

        void getOrderListData(String typeid,int ship,int take);

        void cancleOrder(String orderid);

        void deleteOrder(String orderid);

        void detch();
    }

    public interface View extends BaseView<Presenter> {
        void setOrderListData(ResOrderListEntity data);

        void setCancleResults(String msg);
    }
}
